
from selenium import webdriver
from selenium.webdriver.common.by import By

browser = webdriver.Chrome()

url = 'https://www.baidu.com'
browser.get(url)

button = browser.find_element(By.ID,"su")
# print(button.tag_name)
# print(button.text) #
# print(button.get_attribute("class"))
